#pragma once
#include "PDAfederateAmbassador.h"

using namespace rti1516;

namespace net
{
	enum CallBackType
	{
		DISCOVER_OBJECT_INSTANCE,
		REFLECT_ATTRIBUTE_VALUES
	};

	class CallBack
	{
	public:
		CallBack(void);
		CallBack(char* raw);
		virtual ~CallBack(void);
		void visit(PDAfederateAmbassador* famb);		
	private:
		// type of this CallBack object
		CallBackType type;
		// the raw form of callback data, it is read from callback socket
		char* raw;
	};
}
